package com.zenith.api.po.dto.edu;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduCourseDTO", description = "课程DTO")
public class EduCourseDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "课程名称")
    private String courseName;
    
    @Schema(description = "课程唯一代码")
    private String courseCode;
    
    @Schema(description = "课程封面URL")
    private String coverUrl;
    
    @Schema(description = "课程类型：1-录播 2-直播 3-混合")
    private Integer courseType;
    
    @Schema(description = "学分")
    private BigDecimal credit;
    
    @Schema(description = "课程简介")
    private String intro;
    
    @Schema(description = "状态：1-正常 2-禁用")
    private Integer status;
    
    @Schema(description = "扩展信息（JSON）")
    private String extJson;
}